package org.opens.service;

import org.opens.entity.ShiroPermission;
import org.opens.entity.ShiroRole;

import java.util.List;

public interface ShiroPermissionService {

    public List<ShiroPermission> findByRoleIdIn(List<Integer> roleIds);

    public List<ShiroPermission> findByRoleIn(List<ShiroRole> roles);

}
